home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Conversion / Convert_PICT / Testing / hex_tests / misc=framed.hex < prev    next >
Text File  |  1992-11-02  |  2KB  |  63 lines

  1. % header
  2. 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  3. % end of app-specific header
  4. 00FF 0000 0000 00FF 00FF    % pict size (bogus) and top left bottom right
  5. 11 01                        % verson
  6. 01 000A 0000 0000 00FF 00FF    % Clip region.  Added to keep Mac tester happy.
  7. 30 0000 0000 00FF 00FF        % draw bounding rect
  8.  
  9. 02 AA AA AA AA AA AA AA AA % fill pat
  10. 09 FF FF FF FF FF FF FF FF % pn pat
  11. 0A AA 55 AA 55 AA 55 AA 55 % back pat
  12.  
  13. % draw lines along its four sides
  14. 20 0010 0000 0010 00FF
  15. 20 0000 0010 00FF 0010
  16. 20 0050 0000 0050 00FF
  17. 20 0000 0050 00FF 0050
  18.  
  19. 20 0000 0080 00FF 0080
  20. 20 0000 00C0 00FF 00C0
  21.  
  22. 20 0080 0000 0080 00FF
  23. 20 00C0 0000 00C0 00FF
  24.  
  25.  
  26. 09 FF FF FF FF FF FF FF FF % pn pat (not 'official')
  27.  
  28.  
  29. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  30. %
  31. %    This tests all the simple framed objects (rects,
  32. %    round rects, ovals and arcs) in the standard grid.
  33. %    It does this with pen sizes that aren't 1x1.  The intent
  34. %    of this is to demonstrate that we're terminating these
  35. %    framed shapes in the right places, along their outter
  36. %    borders
  37. %
  38. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  39.  
  40.  
  41. % set the pensize to something unequal and thick.
  42. 07 0007 0003
  43.  
  44. % make the oval size something interesting.
  45.  
  46. 0B 0010 0010
  47.  
  48. % Frame a rectangle
  49. 30 0010 0010 0050 0050
  50.  
  51. % Frame a round one
  52. 40 0010 0080 0050 00C0
  53.  
  54. % Frame an oval
  55. 50 0080 0080 00C0 00C0
  56.  
  57. % Frame an arc 
  58. 60 0080 0010 00C0 0050 0000 0130
  59.  
  60.  
  61.  
  62. FF    % end
  63.